﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Trackr.Core.DataProvider.SQL
{
	class Enums
	{
		public static string GetOperator(Operator op)
		{
			switch (op)
			{
				case Operator.Equals: return "=";
				case Operator.GreaterThan: return ">";
				case Operator.GreaterThanEqualTo: return ">=";
				case Operator.LessThan: return "<";
				case Operator.LessThanEqualTo: return "<=";
				default: return "";
			}
		}
	}
	public enum Operator
	{
		Equals,
		LessThan,
		LessThanEqualTo,
		GreaterThan,
		GreaterThanEqualTo
	}
}
